# coding:utf-8
class Config(object):
    SECRET_KEY = 'saduhsuaihfe332r32rfo43rtn3noiYUG9jijoNF23'
    QINIU_ACCESS_KEY = 'hP7WNic×××××××××××××××××××××××××oZfrVs6'
    QINIU_SECRET_KEY = 'bBZ×××××××××××××××××××××××××××××××××VAV'
    BUCKET_NAME = 'dameinv'


class DevelopmentConfig(Config):
    DEBUG = True

    REDIS_HOST = '192.168.134.150'
    REDIS_PORT = 6379
    REDIS_DB = 4
    REDIS_PASSWORD = ''

    MYSQL_INFO = "mysql://root:root@192.168.134.151:3306/blog01?charset=utf8"


class ProductionConfig(Config):
    DEBUG = False

    REDIS_HOST = '192.168.134.150'
    REDIS_PORT = 6379
    REDIS_DB = 4
    REDIS_PASSWORD = ''

    MYSQL_INFO = "mysql://root:root@192.168.134.151:3306/blog01?charset=utf8"


Conf = DevelopmentConfig